using UnityEngine;
using UnityEditor;
using System.Collections;
using Solider_Sys;
public class SetPrefabMember  {
[MenuItem ("AssetDatabase/SetPrefabMember")]
	static void ImportExample ()
	{
		GameObject t = AssetDatabase.LoadAssetAtPath("Assets/prefab/leopard_big.prefab", typeof(GameObject)) as GameObject;
		Solider a = t.GetComponent<Solider>();
		//a.health = 1000;
			GameObject s = AssetDatabase.LoadAssetAtPath("Assets/prefab/leopard_big.prefab", typeof(GameObject)) as GameObject;
		Solider b = t.GetComponent<Solider>();
		//Debug.Log(b.health);
		
	}
}
 
 